class IdGenerator {
    static id = 0;

    static getId(prefix: string = 'im') {
        IdGenerator.id += 1;
        return `${prefix}-${IdGenerator.id}`;
    }
}

export default IdGenerator;
